//
//  APVideoCommentView.m
//  AqualPolo
//
//  Created by dong on 2024/5/13.
//

#import "APVideoCommentView.h"

@implementation APVideoCommentView

- (UIStackView *)stackView{
    if (!_stackView) {
        _stackView = [[UIStackView alloc] init];
        _stackView.axis = UILayoutConstraintAxisVertical;
        _stackView.alignment = UIStackViewAlignmentLeading;
        _stackView.distribution = UIStackViewDistributionFillProportionally;
        _stackView.spacing = 24;
    }
    return _stackView;
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
//        _scrollView = [[UIScrollView alloc] init];
//        _scrollView.backgroundColor = UIColor.redColor;
//        [self addSubview:_scrollView];
//        [_scrollView mas_makeConstraints:^(MASConstraintMaker *make) {
//            make.edges.equalTo(self);
//        }];
       
        [self addSubview:self.stackView];
        [self.stackView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.right.bottom.equalTo(self);
        }];
        
        
    }
    return self;
}





@end
